Other debug code uses port names instead of the description so
this simplifies debugging.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Origin: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31
Bug: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/34
Bug-Debian: https://bugs.debian.org/
1126514
Applied-upstream: gnome-shell 50, commit:
798230599950607ec285daecd070f5bcb28580e4
Gbp-Pq: Topic libgvc
Gbp-Pq: Name mixer-control-Print-port-names-with-profiles.patch
supported_profiles = g_list_append (supported_profiles, prof);
}
}
- g_debug ("%i profiles supported on port %s",
+ g_debug ("%i profiles supported on port %s / %s",
g_list_length (supported_profiles),
- port->description);
+ port->description, port->name);
return g_list_sort (supported_profiles, (GCompareFunc) gvc_mixer_card_profile_compare);
}